<template>
<div>
  <template>
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="科目设置" name="first"><subjectset/></el-tab-pane>
      <el-tab-pane label="年级设置" name="second"><rankset/></el-tab-pane>
      <el-tab-pane label="教室设置" name="third"><class-room-set/></el-tab-pane>
    </el-tabs>
  </template>
</div>
</template>

<script>
import Subjectset from "./subjectset.vue";
import Rankset from "./rankset.vue";
import ClassRoomSet from "./classRoomSet.vue";


export default {
  name: "schoolmanage",
  components: {ClassRoomSet, Rankset, Subjectset},
  data() {
    return {
      activeName: 'first'
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    }
  }

}
</script>

<style scoped>

</style>